import Vue from 'vue';
import FastClick from 'fastclick';
import vant from 'vant';
import 'vant/lib/index.css';
import 'amfe-flexible';

import 'expose-loader?_!lodash'; // use function library

import initPlugs from '@/utils/initPlugs';

import App from './App.vue';
import router from './router';
import store from './store';

import './permission';
import './styles/index.scss';

FastClick.attach(document.body);

Vue.config.productionTip = false;

Vue.use(vant);
Vue.use(initPlugs);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
